package ace.module.sms.core.impl.service;

import ace.cmp.core.model.R;
import ace.module.sms.api.model.input.SendTemplateInput;
import ace.module.sms.core.impl.model.request.SmsBatchSendRequest;
import ace.module.sms.core.impl.model.response.SmsBatchSendResponse;

/**
 * @author Caspar
 * @create 2020/11/5
 */
public interface SmsService {
  R<Void> send(Long smsAppId, String phoneNumber, String content);

  R<Void> sendTemplate(SendTemplateInput input);

  R<Void> sendVerifyCode(Long smsAppId, String phoneNumber, String code);

  SmsBatchSendResponse send(SmsBatchSendRequest request);
}
